<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of users_model
 *
 * @author hassanali
 */
class packages_model extends cms_model {

    //put your code here
    public function __construct() {
        parent::__construct();
        $this->table = 'packages';
        $this->select = array('packages.*', 'packages_language.title', 'packages_language.lang');
        $this->join = array('packages_language' => 'packages_language.p_id = packages.id');
        $this->where = array('packages_language.lang' => LANG);
        $this->order = array('packages.id' => 'asc');
    }
    
}

?>
